<template>
	<view>
    <web-view :src="paylink"></web-view>
  </view>
</template>

<script>
	export default {
		name:"payment",
		data() {
			return {
        paylink: 'https://enjoy.test.abchina.com/mpaynew/mpay/index?token=16651989592449322108'
			};
		},
    onNavigationBarButtonTap() {
      uni.navigateBack()
    },
    onLoad(option) {
      option && this.pay(option.paylink)
      // console.log(plus)
      plus && plus.runtime.openURL('https://www.baidu.com')
    },
    mounted() {},
    methods: {
      pay(paylink) {
        // this.paylink = paylink
        // this.paylink = 'https://www.baidu.com'
      }
    }
	}
</script>

<style>

</style>